@import './color.scss';
@import './font.scss';
@import './onepx.scss';

//表单样式
.am-list {

  .am-list-body {
     @include onepx($normal-border-color, vertical);
  //  border-top: 1px solid $normal-border-color;
  //  border-bottom: 1px solid $normal-border-color;
    padding: 2px 20px;

    .am-list-item .am-list-item-middle .am-list-line {
      &:not(:last-child) {
        //border-bottom: 1px solid $normal-border-color;
         @include onepx($normal-border-color, bottom);
      }
    }
  }
}

.am-list-item.am-textarea-item {
  overflow: inherit;
}

.am-list-item.am-input-item{

  &:not(:first-child) {
    //border-top: 1px solid $normal-border-color;
     @include onepx($normal-border-color, top);
  }
  padding: 0 10px;
  height: 100px;
  box-sizing: border-box;

  .am-input-label{
    font-family: $regular-font-family;
    @include font-dpr(30px);
    color: $mine-content-color;
    letter-spacing: 0;
  }
  .am-input-control{
    align-items: center;
    display: flex;

    input{
      font-family:$regular-font-family;
      @include font-dpr(30px);
      color: $mine-content-color;
      letter-spacing: 0;
      line-height: 131%;
    }
  }
}

.am-list-item.am-list-item-middle {
   @include onepx($normal-border-color, top);
  // border-top: 1px solid $normal-border-color;
  padding: 0 10px;
  height: 100px;

  .am-list-line {
    padding-right: 0;

    .am-list-content {
      @include font-dpr(30px);
    }
    .am-list-extra {
      @include font-dpr(30px);
    }
  }
}

.am-list-item.am-textarea-item {
  padding-left: 0;
  height: 192px;

  .am-textarea-control {
     @include onepx($normal-border-color, all);
    border: 1px solid $normal-border-color;
    margin-right: 1px;
    height: 192px;
    padding: 0 12px;

    textarea {
      @include font-dpr(30px);
      height: 192px;
    }
  }

  .am-textarea-count {
    @include font-dpr(24px);
  }
}

.am-list-item.am-input-item:after, .am-list-body:after, .am-list-body div:not(:last-child) .am-list-line:after {
  border-bottom:none;
}

//  选择
.am-picker-popup-header{
  .am-picker-popup-item{
    @include font-dpr(26px);
  }
}
.am-picker{
  .am-picker-col-item{
    @include font-dpr(32px);
  }
}

input:disabled {
  color: #000000 !important;
  opacity: 1 !important;
}
